using IBatisNet.DataMapper;
using Com.Pirate.Domain.Objects;
using Com.Pirate.Domain.Objects.Contracts;
using Com.Pirate.Domain.Objects.Identities;
using Com.Pirate.Infrastructure.Services.Contracts;
namespace Com.Pirate.Infrastructure.Services
{
	public partial class usersDataMapper<TEntity>:BaseDataMapper<TEntity> where TEntity : class
	{
        public override ISqlMapper Mapper
        {
            get
            {
                if (mapper == null)
                    mapper = new InfrastructureFactory().GetSqlMapper("users");
                return mapper;
            }
            set
            {
                mapper = value;
            }
        }
    }
}
